﻿using System;

namespace ErgoBreak.Core
{
    internal class BreakEventArgs : EventArgs
    {
        #region Fields
        private Break proposedBreak;
        #endregion

        #region Constructors
        /// <summary>
        /// Initializes a new instance of 'BreakEventArgs' class. 
        /// </summary>
        /// <param name="proposedBreak">The break instance related to the event.</param>
        public BreakEventArgs(Break proposedBreak)
        {
            this.proposedBreak = proposedBreak;
        }
        #endregion

        #region Properties
        /// <summary>
        /// Gets the instance of break related to the event occurred. 
        /// </summary>
        public Break Break
        {
            get { return this.proposedBreak; }
        }
        #endregion
    }
}
